package com.ruoyi.admin.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class RepairVo {
    private static final long serialVersionUID = 1L;

    /** 维修表唯一id
     */
    private Long repairId;

    /** 教师id */
    @Excel(name = "教师id")
    private Long teacherId;

    @Excel(name = "教师名称")
    private String teacherName;

    /** 实验室id */
    @Excel(name = "实验室id")
    private Long labId;

    @Excel(name = "实验室名称")
    private String labName;

    /** 故障描述 */
    @Excel(name = "故障描述")
    private String description;

    /** 报修日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报修日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportDate;

    /** 报修状态，0-已维修，1-未维修，2-维修中 */
    @Excel(name = "报修状态，0-已维修，1-未维修，2-维修中")
    private String status;

    public void setRepairId(Long repairId)
    {
        this.repairId = repairId;
    }

    public Long getRepairId()
    {
        return repairId;
    }
    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId()
    {
        return teacherId;
    }
    public void setLabId(Long labId)
    {
        this.labId = labId;
    }

    public Long getLabId()
    {
        return labId;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setReportDate(Date reportDate)
    {
        this.reportDate = reportDate;
    }

    public Date getReportDate()
    {
        return reportDate;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getLabName() {
        return labName;
    }

    public void setLabName(String labName) {
        this.labName = labName;
    }




    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("repairId", getRepairId())
                .append("teacherId", getTeacherId())
                .append("labId", getLabId())
                .append("description", getDescription())
                .append("reportDate", getReportDate())
                .append("status", getStatus())
                .append("teacherName",getTeacherName())
                .append("labName",getLabName())
                .toString();
    }
}
